<script type="text/javascript" src="public/login.js"></script>
<script type="text/javascript" src="public/types.js"></script>
<div id="main-login">
	<form action="j_security_check" method="post" onsubmit="return validate(this);">
		<table style="position:absolute;left:40%;top:42%;">
			<tr>
				<td><label for="j_username">username: </label></td>
				<td><input type="text" maxlength="32" name="j_username" id="j_username" onkeypress="return (isNumberKey(event) || isLetterKey(event));" /></td>
			</tr>
			<tr>
				<td><label for="j_password">Password: </label></td>
				<td><input type="password" maxlength="32" name="j_password" id="j_password" onkeypress="return isPasswordKey(event);" /></td>
			</tr>
			<tr>
				<td><input type="submit" value="Login"/></td>
				<td><p class="errorText" id="insertInput"></p></td>
			</tr>
		</table>
	</form>
</div>
